<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2024-01-16 13:36:54
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2024-01-25 11:15:52
 * @FilePath: \zjgxpt\zdgy\src\views\machineNetworkManage\testDataProcessManage\pressDataProcess\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->

<template>
  <div class="tableInfo" id="tableInfoBox">
    <TableLyout >

    

      <template v-slot:serchbox>
        <publicForm
          ref="publicForm"
          @yj_searchForm="yj_searchForm"
          lableWidth="110px"
          :formObj="searchObj"
          :formData="getList"
          @selectChange="selectTime"
        >
        </publicForm>
      </template>
      
      <template v-slot:tabcom>
        <div class="tableInfo">
          <div class="app-container-btn">
            <el-button
              :disabled="item.disabled"
              type="primary"
              v-for="(item, index) in btnObj"
              :key="index"
              @click="getBtnName(item.fEncode, item.fOrder)"
              >{{ item.fFullname }}</el-button
            >
          </div>
          <tableData
            :page="getList.page"
            :pageSize="getList.pageSize"
            height="100%"
            :config="table_config"
            :dataList="tableData"
            :loading="loading"
            @click-change="rowChange"
            :info="queryCriteriaData"
            :total="queryCriteriaData.total"
            :pageNum.sync="getList.page"
            :limit.sync="getList.pageSize"
            @openDialog="yj_viewForm($event, 1)"
            @ClickOnLine="yj_viewForm($event, 2)"
            @pagination="yj_searchForm(getList)"
          />
        </div>
      </template>
    </TableLyout>
    <custom-dialog
    
      :currentRow="currentRow"
      :statusNum="statusNum"
      v-if="isShow"
      :dialogVisible="isShow"
      :tableTitle="tableTitle"
      @close="closeDialog"
      closeType="1"
      :fCompanyid="{status:currentRow.fCheckstatus,companyId:getList.fCompanyid}"
      :fCompanyname="userInfo.projectId"
    ></custom-dialog>
    <custom-dialog1
    
      :currentRow="currentRow"
      :statusNum="statusNum"
      v-if="isShow1"
      :dialogVisible="isShow1"
      :tableTitle="tableTitle"
      @close="closeDialog1"
      :fCompanyid="getList.fCompanyid"
      :fCompanyname="userInfo.projectId"
    ></custom-dialog1>
    <messageBox
      :showMsgBox="showMsgBox"
      :msgTip="msgTip"
      :msgType="msgType"
      @confirmMsg="confirmMsg"
    ></messageBox>
  </div>
</template>
<script src="./index.js"></script>
<style scoped lang="less">
@import "./index.less";
</style>
